import request from "@/utils/request";
//注册
export const regService = (data) => {
    return request.post('/auth/reg', data)
}
//登录
export const loginService = (data) => {
    return request.post('/auth/login', data)
}
//改名字
export const changeNameService = (data) => {
    return request.post('/user/changeName', data)
}
//改签名
export const changeSignatureService = (data) => {
    return request.post('/user/changeSignature', data)
}